package com.easy.easybanner.view;

import android.content.Context;
import android.view.animation.Interpolator;
import android.widget.Scroller;

/**
 * Created by Sigthp-P-Department on 2018/4/25.
 */

public class EasyScroller extends Scroller {


    private int mDuration;
    public void setmDuration(int duration) {
        this.mDuration = duration;
    }
    public EasyScroller(Context context) {
        super(context);
    }

    public EasyScroller(Context context, Interpolator interpolator) {
        super(context, interpolator);
    }

    public EasyScroller(Context context, Interpolator interpolator, boolean flywheel) {
        super(context, interpolator, flywheel);
    }

    @Override
    public void startScroll(int startX, int startY, int dx, int dy, int duration) {
        super.startScroll(startX, startY, dx, dy, mDuration);

    }
}
